<?php include './application/views/zhs_mobile/header.php';?>

<script>
function clearText(input){
	if(input.value=='请输入提现金额'){
		input.value="";
	}
}
/**
function changepaypwd(input){
	if(input.value=='交易密码'){
		input.type="password";
		input.value="";
	}
}
*/
function formSubmit(){
	document.getElementById("cash_form").submit();
}
</script>
<section class="invbd main">
   <h3 class="logtitle">提现</h3>
   <form id="cash_form" method="post" action="/zhs_mobile/cash/submit">
   <ul class="forlogin_ul">
   <?php if ( count($bank)==1 ){?>
    <li><input class="in" type="radio" checked = "checked" name ="bankno" value = "<?php echo $bank['0']['id']?>" ><span class="tximg"><img src="<?php echo CON_STATIC_URL; ?>zhsjr/mobile/images/mem_8.gif"></span><p><?php echo $bank['0']['account']?></p></li>
   <?php }elseif( count($bank)==2 ){?>
   	<li><input  value = "<?php echo $bank['0']['id']?>" class="in" type="radio" name ="bankno"  checked ="<?php if ($bank['0']['default_flag']==1) echo checked; ?>" ><span class="tximg"><img src="<?php echo CON_STATIC_URL; ?>zhsjr/mobile/images/mem_8.gif"></span><p><?php echo $bank['0']['account']?></p></li>
    <li><input  value = "<?php echo $bank['1']['id']?>" class="in" type="radio" name ="bankno" ><span class="tximg"><img src="<?php echo CON_STATIC_URL; ?>zhsjr/mobile/images/mem_8.gif"></span><p><?php echo $bank['1']['account']?></p></li>
   
    	<!--  <li><a href="#" class="more">更多</a></li>-->
   <?php }?>
    </li>
    <li><p>可用金额：</p><input class="inpt" type="text" disabled="disabled" value="<?php echo $account['use_money']?>"/></li>
    <li><p>提现金额：</p><input class="inpt" type="text" id="money" name="money"/></li>
    <li><p>交易密码：</p><input class="inpt" type="password" name="paypwd" /></li>
    <li><a href="javascript:formSubmit();" class="logbtn">确认提现</a></li>
  </ul>
   </form>
</section>
<?php include './application/views/zhs_mobile/footer.php';?>
